package jiang.app.service;

import java.util.List;

import javax.annotation.Resource;

import jiang.app.dao.ICandidateDao;
import jiang.app.entity.Candidate;

import org.springframework.stereotype.Component;

@Component
public class OverviewService {
	@Resource
	ICandidateDao candidateDao;
	
	public List<Candidate> findAllCandidates(){
		return candidateDao.selectCandidates();
	}
}
